package com.medusa.aps.business.modules.modeling.mp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.medusa.aps.business.model.pagination.Page;
import com.medusa.aps.business.modules.modeling.model.output.TechnologicalProcessVO;
import com.medusa.aps.business.modules.modeling.mp.entity.TechnologicalProcess;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工艺工序数据库访问层
 *
 * @author yuxh
 * @since 2023-08-14 17:37:52
 */
public interface TechnologicalProcessMapper extends BaseMapper<TechnologicalProcess> {

    List<TechnologicalProcessVO> getTechnologicalProcess(@Param("processId") Integer processId);

    Page<TechnologicalProcessVO> getTechnologicalProcessPage(@Param("page") Page<TechnologicalProcessVO> page, @Param("materialCode") String materialCode);
}

